package cn.com.baiwei.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (Employee)实体类
 *
 * @author 铁锤妹妹
 * @since 2021-09-15 16:02:13
 * @version 1.0
 */
@ApiModel(value = "Employee",description = "$tableInfo.comment")
public class Employee implements Serializable {

    private Type type;
    private static final long serialVersionUID = -48426610820133811L;
    /**
    * 员工编号
    */
	@ApiModelProperty(name = "id",notes = "员工编号",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 工种id
    */
	@ApiModelProperty(name = "typeId",notes = "工种id",dataType = "Integer",required = true)
    private Integer typeId;
    /**
    * 员工姓名
    */
	@ApiModelProperty(name = "employeeName",notes = "员工姓名",dataType = "String",required = true)
    private String employeeName;
    /**
    * 登录密码
    */
	@ApiModelProperty(name = "employeePassword",notes = "登录密码",dataType = "String",required = true)
    private String employeePassword;
    /**
    * 1为男 0为女
    */
	@ApiModelProperty(name = "employeeSex",notes = "1为男 0为女",dataType = "Integer",required = true)
    private Integer employeeSex;
    /**
    * 员工年龄
    */
	@ApiModelProperty(name = "employeeAge",notes = "员工年龄",dataType = "Integer",required = true)
    private Integer employeeAge;
    /**
    * 员工电话+登录账户
    */
	@ApiModelProperty(name = "employeePhone",notes = "员工电话+登录账户",dataType = "String",required = true)
    private String employeePhone;
    /**
    * 员工身份证号
    */
	@ApiModelProperty(name = "employeeCard",notes = "员工身份证号",dataType = "String",required = true)
    private String employeeCard;
    /**
    * 员工地址
    */
	@ApiModelProperty(name = "employeeAddress",notes = "员工地址",dataType = "String",required = true)
    private String employeeAddress;
    /**
    * 入职时间
    */
	@ApiModelProperty(name = "entryTime",notes = "入职时间",dataType = "Date",required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entryTime;
    /**
    * 离职时间
    */
	@ApiModelProperty(name = "leaveTime",notes = "离职时间",dataType = "Date",required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leaveTime;
    /**
    * 在职状态 默认1为在职 0为离职
    */
	@ApiModelProperty(name = "status",notes = "在职状态 默认1为在职 0为离职",dataType = "Integer",required = true)
    private Integer status;
    /**
    * token_uuid
    */
	@ApiModelProperty(name = "uuid",notes = "token_uuid",dataType = "String",required = true)
    private String uuid;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
        
    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public String getEmployeePassword() {
        return employeePassword;
    }

    public void setEmployeePassword(String employeePassword) {
        this.employeePassword = employeePassword;
    }
        
    public Integer getEmployeeSex() {
        return employeeSex;
    }

    public void setEmployeeSex(Integer employeeSex) {
        this.employeeSex = employeeSex;
    }
        
    public Integer getEmployeeAge() {
        return employeeAge;
    }

    public void setEmployeeAge(Integer employeeAge) {
        this.employeeAge = employeeAge;
    }
        
    public String getEmployeePhone() {
        return employeePhone;
    }

    public void setEmployeePhone(String employeePhone) {
        this.employeePhone = employeePhone;
    }
        
    public String getEmployeeCard() {
        return employeeCard;
    }

    public void setEmployeeCard(String employeeCard) {
        this.employeeCard = employeeCard;
    }
        
    public String getEmployeeAddress() {
        return employeeAddress;
    }

    public void setEmployeeAddress(String employeeAddress) {
        this.employeeAddress = employeeAddress;
    }
        
    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }
        
    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }
        
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
        
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

}